﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="lianxi2.index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:Button ID="Button1" runat="server" Text="查询" OnClick="Button1_Click" /><br/>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" PageSize="3">
        <Columns>
            <asp:BoundField DataField="Id" HeaderText="编号" />
            <asp:BoundField HeaderText="工装类别" DataField="Leibie" />
            <asp:BoundField DataField="Name" HeaderText="工装名称" />
            <asp:BoundField DataField="Salary" HeaderText="单位价格" />
            <asp:BoundField DataField="Tigong" HeaderText="提供商" />
            <asp:BoundField DataField="Riqi" HeaderText="入库日期" />
            <asp:BoundField DataField="Zhuangtai" HeaderText="工装状态" />
            <asp:CommandField HeaderText="修改" ShowEditButton="True" />
            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
        </Columns>
    </asp:GridView>
</asp:Content>
